package com.z1.core.kvutils;

import java.util.List;
import java.util.Map;

public interface KvObject {
	
	final String GROUP_DEFAULT = "default";
	
	String type();
	
	void set(String group, String key, Object value);
	
	List<String> groups();
	
	Map<String, Object> get(String group);
	
	int count(String group);
	
	Object get(String group, String key);
	
	void remove(String group, String key);
	
}
